package com.miao.util.annotation;

import java.lang.annotation.*;

/**
 * 用于查找的时候，放置缓存信息
 *
 * @author Miaosk
 * @date Created on 2015/5/19.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Cache {
    String prefix() default "";

    long expiration() default 60 * 60;
}